class UnstartedState implements State {
    @Override
    public void onTemperatureBelow20AndHasWater(WaterTank tank) {}
    @Override
    public void onTemperatureReached100(WaterTank tank) {}
    @Override
    public void onNoWater(WaterTank tank) {}
    @Override
    public void onBurnedOut(WaterTank tank) {
        tank.setIsBurnedOut(true);
        System.out.println("水箱烧坏了！进入维修状态。");
    }
    @Override
    public void onMorning7(WaterTank tank) {
        System.out.println("早上7点，自动启动系统...");
        tank.setCurrentState(new StartedState());
    }
    @Override
    public void onNight11(WaterTank tank) {}
}